﻿// -----------------------------------------------------------------------
// <copyright file="IContact.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace DC.DCAttribute.Demo
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.ServiceModel;
    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    [ServiceContract]
    public interface IContract
    {
        [OperationContract]
        Address GetAddressByFirstName(Contact contact);

        [OperationContract]
        Contact GetContactByCompanyName(Customer customer);
    }

    [ServiceContract]
    public interface IContract1
    {
        [OperationContract]
        Address1 GetAddressByFirstName(Contact1 contact);

        [OperationContract]
        Contact1 GetContactByCompanyName(Customer1 customer);
    }
}
